Associate the drawing context to the Cairo context
authorEmmanuele Bassi <ebassi@gnome.org>
Tue, 7 Jun 2016 15:34:50 +0000 (16:34 +0100)
committerEmmanuele Bassi <ebassi@gnome.org>
Thu, 9 Jun 2016 16:45:40 +0000 (17:45 +0100)
commitdda6a0d385852ca93badfe4cac02e1e4ae247b09
tree06fd11209d08e693b3fcbf9ef4f7d794bb0ab930
parent01b4bf19208ed65760d3c0f07871701e1094b55f
Associate the drawing context to the Cairo context

Instead of associating the GdkWindow that created the GdkDrawingContext
we can directly bind the Cairo context to the GDK drawing context.

Cairo contexts created via gdk_cairo_create() go back to not having a
GdkWindow associated to them, like they did before we introduced the
gdk_window_begin_draw_frame() API.

https://bugzilla.gnome.org/show_bug.cgi?id=766675
docs/reference/gdk/gdk3-sections.txt
gdk/gdkcairo.h
gdk/gdkdrawingcontext.c
gdk/gdkwindow.c
gtk/gtkwidget.c